Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Allow to reassign the same user #532

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Conversation

Flink
Copy link
Contributor

@Flink Flink commented Nov 23, 2023

Currently, when only one user is available for the random auto-assign and if that user was already assigned, then the assign will fail.

This patch addresses this issue by allowing to reassign a user who’s already assigned. A new parameter (allow_self_reassign) has been added to Assigner#assign with a default value of false.

@Flink Flink self-assigned this Nov 23, 2023
@Flink Flink force-pushed the loic-allow-self-reassign branch from 98d05ca to af84618 Compare November 27, 2023 11:11
@Flink Flink marked this pull request as ready for review November 27, 2023 11:21
@Flink Flink changed the title FEATURE: Allow to reassign to same user FEATURE: Allow to reassign the same user Nov 27, 2023
Currently, when only one user is available for the random auto-assign
and if that user was already assigned, then the assign will fail.

This patch addresses this issue by allowing to reassign a user who’s
already assigned. A new parameter (`allow_self_reassign`) has been added
to `Assigner#assign` with a default value of `false`.
@Flink Flink force-pushed the loic-allow-self-reassign branch from af84618 to 57ade2b Compare November 27, 2023 13:54
@Flink Flink merged commit cac9a76 into main Nov 27, 2023
5 checks passed
@Flink Flink deleted the loic-allow-self-reassign branch November 27, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants